package com.zhang.sh.mapper;

import com.zhang.sh.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderMapper {

    @Select("select * from tb_order where username = #{username}")
    List<Order> getOrders(@Param("username")String username);

}
